inherited FRotinaNF_x_OF: TFRotinaNF_x_OF
  Left = 272
  Top = 238
  Height = 424
  Caption = 'AUDITORIA NOTA FISCAL X OF'
  Constraints.MaxHeight = 450
  Constraints.MaxWidth = 900
  OldCreateOrder = True
  OnClose = FormClose
  PixelsPerInch = 96
  TextHeight = 16
  inherited panel2: TPanel
    inherited BtnExec: TBitBtn
      OnClick = BtnExecClick
    end
  end
  inherited pnBg: TPanel
    Height = 355
    object DBGrid1: TDBGrid
      Left = 8
      Top = 8
      Width = 577
      Height = 337
      DataSource = DataSource1
      TabOrder = 0
      TitleFont.Charset = ANSI_CHARSET
      TitleFont.Color = clWindowText
      TitleFont.Height = -13
      TitleFont.Name = 'Arial'
      TitleFont.Style = []
    end
  end
  object DataSource1: TDataSource
    DataSet = ClientDataSet1
    Left = 80
    Top = 163
  end
  object ClientDataSet1: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 168
    Top = 227
  end
  object Query1: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      'select'
      'notafiscalvenda.nf_numeronf,'
      'notafiscalvenda.nf_valorfinalservico as VALOR_NF,'
      'pedidocontrato.ped_codigo as Ordem_F,'
      'pedidocontrato.ped_valorfinal as VALOR_OF,'
      
        '(notafiscalvenda.nf_valorfinalservico - pedidocontrato.ped_valor' +
        'final) as DIFERENCA,'
      'notafiscalvenda.nf_dataemissao'
      'from pedidocontrato'
      
        'inner join notafiscalvenda on (pedidocontrato.ped_cod_notafiscal' +
        ' = notafiscalvenda.nf_codigo) '
      'where  (notafiscalvenda.nf_situacao = '#39'1'#39') and '
      '(notafiscalvenda.nf_valorfinalservico <>'
      'pedidocontrato.ped_valorfinal )')
    Left = 128
    Top = 105
  end
end
